package ssm.dao;

import java.util.List;

import ssm.entity.Teacher;

public interface TeacherMapper {
    int deleteTeacher(Integer tId);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Integer tId);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
    
    List<Teacher> getTeachersByDepartmentId(Integer dId);
    
    List<Teacher> allTeacher();
    
    int addTeacher(Teacher record);
    
    int updateTeacherSelective(Teacher record);
    
    int resetTeacherPassword(Integer tId);
}